call pkgconfig in order to be able to cross build qtbase with MySql.
authorHelmut Grohne <helmut@subdivi.de>
Mon, 1 Feb 2021 18:21:48 +0000 (18:21 +0000)
committerDmitry Shachnev <mitya57@debian.org>
Mon, 1 Feb 2021 18:21:48 +0000 (18:21 +0000)
commit060168327cc397ab50f4c902f40c07c6af24a04f
treecf16522f9a225dc16984761d8006eaa3ff74c79c
parent18a927384a10cbc79eb44a2c6ddb65063fbd309f
call pkgconfig in order to be able to cross build qtbase with MySql.

Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=971604
Forwarded: not-needed
Reviewed-by: Lisandro Damián Nicanor Pérez Meyer <lisandro@debian.org>
Qt's build system calls mysql_config... which won't work in a cross build
environment like Debian's, as it will throw an exec format error.

In order to solve this call pkgconfig and use mysqlclient.pc.

Gbp-Pq: Name cross_build_mysql.diff
src/plugins/sqldrivers/configure.json